﻿using System;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            users user = new users();
            Console.WriteLine("请输入用户姓名");
            user.Name = Console.ReadLine();
            Console.WriteLine("请输入用户年龄");
            user.Age = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入用户性别");
            user.Sex = char.Parse(Console.ReadLine());
            user.Users();

            books book = new books();
            Console.WriteLine("请输入图书姓名");
            book.Bname = Console.ReadLine();
            Console.WriteLine("请输入图书编号");
            book.BID = (Console.ReadLine());
            Console.WriteLine("请输入图书出版社");
            book.BrirhAdd = (Console.ReadLine());
            Console.WriteLine("请输入图书价格");
            book.Monry = double.Parse(Console.ReadLine());
            book.book();

            pubs pub = new pubs();
            Console.WriteLine("请输入图书出版社");
            pub.Pname = (Console.ReadLine());
            Console.WriteLine("请输入出版社地址");
            pub.PAdd = (Console.ReadLine());
            pub.Pub();
        }
    }
}
